package com.bean;

import java.sql.Timestamp;

/**
 * Cancel entity. @author MyEclipse Persistence Tools
 */

public class Cancel implements java.io.Serializable {

	// Fields

	private Integer cancelId;
	private Bookinformation bookinformation;
	private Timestamp cancelDate;

	// Constructors

	/** default constructor */
	public Cancel() {
	}

	/** full constructor */
	public Cancel(Bookinformation bookinformation, Timestamp cancelDate) {
		this.bookinformation = bookinformation;
		this.cancelDate = cancelDate;
	}

	// Property accessors

	public Integer getCancelId() {
		return this.cancelId;
	}

	public void setCancelId(Integer cancelId) {
		this.cancelId = cancelId;
	}

	public Bookinformation getBookinformation() {
		return this.bookinformation;
	}

	public void setBookinformation(Bookinformation bookinformation) {
		this.bookinformation = bookinformation;
	}

	public Timestamp getCancelDate() {
		return this.cancelDate;
	}

	public void setCancelDate(Timestamp cancelDate) {
		this.cancelDate = cancelDate;
	}

}